<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>我的网站</title>
    <meta name="keywords" content="我的网站"/>
    <meta name="description" content="我的网站"/>
    <script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/css/flexslider.css" type="text/css"/>
    <link href="__PUBLIC__/css/css.css" rel="stylesheet" type="text/css"/>
    <script language="javascript" type="text/javascript" src="__PUBLIC__/js/jquery.flexslider-min.js"></script>
    <script language="javascript" type="text/javascript">
        // Can also be used with $(document).ready()

        $(window).load(function () {
            $('.flexslider').flexslider({
                animation: "slide",
                itemMargin: 0//,
                //controlNav: false
            });
        });
    </script>
</head>
<body>

<!--top -->
<div id="top">
    <!--[if IE 6]>
    <script src="/Public/Home/default/js/DD_belatedPNG_0.0.8a-min.js" language="javascript"
            type="text/javascript"></script>
    <script>
        DD_belatedPNG.fix('#top_logo');
        /* string argument can be any CSS selector */
    </script>
    <![endif]-->
    <script type="text/javascript">
        $(function () {
            var $chkurl = "/index.php?s=/Public/loginChk.html";
            $.get($chkurl, function (data) {
                //alert(data);
                if (data.status == 1) {
                    $('#top_login_ok').show();
                    $('#top_login_no').hide();
                    //$('#top_login_ok').find('span');
                    $('#top_login_ok>span').html('欢迎您，' + data.nickname);
                } else {
                    $('#top_login_ok').hide();
                    $('#top_login_no').show();
                }
            }, 'json');
        });
    </script>
    <div class="warp" id="herd">
        <div id="top_fla">
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
                    width="998" height="159">
                <param name="movie" value="__PUBLIC__/images/Home/images/top.swf"/>
                <param name="quality" value="high"/>
                <PARAM NAME=wmode value="transparent">
                <embed src="__PUBLIC__/images/Home/images/top.swf" quality="high" wmode="transparent"
                       pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
                       width="998" height="159"></embed>
            </object>
        </div>
        <div id="top_member">
            <!--<a href="/index.php?s=/Home/Product/basket.html">购物车</a>-->
            <div id="top_login_no" style="display:{:session('?name')? 'none': '' }" ;>
                <a href="{:U("register/index")}">会员注册</a>
                <a href="{:U("login/index")}">会员登录</a>
                <span>欢迎您,游客！您可以选择</span>
            </div>
            <div id="top_login_ok" style="display:{:session('?name')? '': 'none' }";>
                <a href="{:U("Member/index")}">会员中心</a>
                <a href="{:U('member/loginout')}">安全退出</a>
                <span>欢迎您，{:session('name')} </span>
            </div>

        </div>
        <div id="top_logo"><a href="http://www.xyh1.com"></a></div>
    </div>
    <!--menu -->
    <div id="menu">
        <ul>
            <li><a href="http://www.xyh1.com">首 页</a></li>
            <li><a href="{:U('introduce/index')}">公司介绍</a></li>
            <li><a href="{:U('special/index')}">精彩专题</a></li>
            <li><a href="{:U('news/index')}">新闻中心</a></li>
            <li><a href="{:U('ProductDisplay/index')}">产品展示</a></li>
            <li><a href="{:U('Album/index')}">公司相册</a></li>
            <li><a href="{:U('message/index')}">在线留言</a></li>
            <li><a href="{:U('Contact/index')}">联系我们</a></li>
        </ul>
    </div>

